import request from '@/utils/request'

// 查询占位符模板列表
export function listPlaceholder_template(query) {
  return request({
    url: '/manager/placeholderTemplate/list',
    method: 'get',
    params: query
  })
}

// 查询占位符模板详细
export function getPlaceholder_template(id) {
  return request({
    url: '/manager/placeholderTemplate/' + id,
    method: 'get'
  })
}

// 新增占位符模板
export function addPlaceholder_template(data) {
  return request({
    url: '/manager/placeholderTemplate/save',
    method: 'post',
    data: data
  })
}

// 修改占位符模板
export function updatePlaceholder_template(data) {
  return request({
    url: '/manager/placeholderTemplate',
    method: 'put',
    data: data
  })
}

// 删除占位符模板
export function delPlaceholder_template(id) {
  return request({
    url: '/manager/placeholderTemplate/' + id,
    method: 'delete'
  })
}

// 导出占位符模板
export function exportPlaceholder_template(query) {
  return request({
    url: '/manager/placeholderTemplate/export',
    method: 'get',
    params: query
  })
}
